Include dependencies needed for the new sequence embedding models - #97
Conversation
There was a problem hiding this comment.
Code Review
This pull request adds the ablang2, sceptr, and rdkit libraries to the torch-cuda run environment. The reviewer identified that the specified version for rdkit (2026.3.3) does not exist on PyPI and is likely a typo for 2023.3.3 or 2024.3.3 in both the configuration and the changeset files.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
| "ablang2==0.2.1", | ||
| "sceptr==1.2.0", | ||
| "rdkit==2026.3.3" |
There was a problem hiding this comment.
Transitive dependencies not pinned
ablang2, sceptr, and rdkit each pull in several transitive packages (einops, rotary-embedding-torch, libtcrlm, tidytcells, pandas, blosum, Pillow) that are not pinned here. A future pip resolve could silently upgrade any of them and introduce an ABI or API mismatch with the pinned numpy==2.2.6 or torch==2.7.0 in this same environment. Consider adding explicit pins for the key transitives — especially pandas (which has historically broken APIs across minor versions) — either directly in this array or via a constraints.txt / lock file.
Prompt To Fix With AI
This is a comment left during a code review.
Path: python-3.12.10-torch-cuda/config.json
Line: 13-15
Comment:
**Transitive dependencies not pinned**
`ablang2`, `sceptr`, and `rdkit` each pull in several transitive packages (`einops`, `rotary-embedding-torch`, `libtcrlm`, `tidytcells`, `pandas`, `blosum`, `Pillow`) that are not pinned here. A future `pip` resolve could silently upgrade any of them and introduce an ABI or API mismatch with the pinned `numpy==2.2.6` or `torch==2.7.0` in this same environment. Consider adding explicit pins for the key transitives — especially `pandas` (which has historically broken APIs across minor versions) — either directly in this array or via a `constraints.txt` / lock file.
How can I resolve this? If you propose a fix, please make it concise.Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Greptile Summary
This PR extends the
python-3.12.10-torch-cudarun environment with three pinned sequence-embedding libraries —ablang2==0.2.1(antibody language model),sceptr==1.2.0(TCR model), andrdkit==2026.3.3(cheminformatics toolkit for PeptideCLM-2) — along with a matching changeset entry.python-3.12.10-torch-cuda/config.json: Three new entries appended to thedependenciesarray; the existing pins (transformers, polars-lts-cpu, numpy, pyarrow, torch) are untouched..changeset/torch-cuda-ablang2-sceptr.md: Minor-version changeset documenting the additions and explicitly notingpip checkwas run to confirm no conflicts.Confidence Score: 4/5
Adding three pinned libraries to the torch-cuda environment is a low-risk, additive change; the existing pins are untouched and the author notes pip check passed.
The change is purely additive — three new version-pinned packages in one environment's dependency list. The transitive dependencies (einops, rotary-embedding-torch, libtcrlm, tidytcells, pandas, blosum, Pillow) are not themselves pinned in config.json, so future pip resolves could pull in different transitive versions. The changeset documents the rationale clearly and claims pip check is clean, but that validation is not reproducible from the diff alone.
The only non-trivial file is
python-3.12.10-torch-cuda/config.json. Transitive dependencies of the three new packages are not pinned, which could cause unexpected resolution changes in the future.Important Files Changed
Flowchart
%%{init: {'theme': 'neutral'}}%% flowchart TD subgraph env["python-3.12.10-torch-cuda environment"] direction TB existing["Existing pins\ntransformers==4.53.2\npolars-lts-cpu==1.33.1\nnumpy==2.2.6\npyarrow==21.0.0\ntorch==2.7.0+cu126 (linux-x64)\ntorch==2.7.0 (macosx-aarch64)"] new["New pins (this PR)\nablang2==0.2.1\nsceptr==1.2.0\nrdkit==2026.3.3"] end ablang2["ablang2==0.2.1\n(Antibody LM)"] -->|pulls| einops["einops"] ablang2 -->|pulls| rotary["rotary-embedding-torch"] sceptr["sceptr==1.2.0\n(TCR model)"] -->|pulls| libtcrlm["libtcrlm"] sceptr -->|pulls| tidytcells["tidytcells"] sceptr -->|pulls| pandas["pandas"] sceptr -->|pulls| blosum["blosum"] rdkit["rdkit==2026.3.3\n(Cheminformatics)"] -->|pulls| Pillow["Pillow"] new --> ablang2 new --> sceptr new --> rdkit%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%% flowchart TD subgraph env["python-3.12.10-torch-cuda environment"] direction TB existing["Existing pins\ntransformers==4.53.2\npolars-lts-cpu==1.33.1\nnumpy==2.2.6\npyarrow==21.0.0\ntorch==2.7.0+cu126 (linux-x64)\ntorch==2.7.0 (macosx-aarch64)"] new["New pins (this PR)\nablang2==0.2.1\nsceptr==1.2.0\nrdkit==2026.3.3"] end ablang2["ablang2==0.2.1\n(Antibody LM)"] -->|pulls| einops["einops"] ablang2 -->|pulls| rotary["rotary-embedding-torch"] sceptr["sceptr==1.2.0\n(TCR model)"] -->|pulls| libtcrlm["libtcrlm"] sceptr -->|pulls| tidytcells["tidytcells"] sceptr -->|pulls| pandas["pandas"] sceptr -->|pulls| blosum["blosum"] rdkit["rdkit==2026.3.3\n(Cheminformatics)"] -->|pulls| Pillow["Pillow"] new --> ablang2 new --> sceptr new --> rdkitPrompt To Fix All With AI
Reviews (1): Last reviewed commit: "Include dependencies needed for the new ..." | Re-trigger Greptile